class StatusesController < ApplicationController
  active_scaffold :status do |config|
    config.label = "Status"

    config.create.columns = [:sigla]
    config.list.columns = [:sigla]

    config.theme = :blue
    config.columns[:sigla].description = "NOME"

    config.columns[:sigla].label = "NOME"

    config.actions.exclude :search
    config.actions.exclude :delete
    config.actions.exclude :update

    config.list.per_page = Setting.new.qtd_porpagina

    config.create.link.label = "NOVO"
    config.show.link.label = "Mostrar"

    config.actions.exclude :search
  end
end
